﻿<UserControl x:Class="SimpleViewer_SL.Photo"
    xmlns="http://schemas.microsoft.com/client/2007" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<Grid x:Name="LayoutRoot">
		<Grid.Resources>
		   <Storyboard x:Name="NavLeftShowStoryboard">
			  <DoubleAnimation Storyboard.TargetName="NavLeft" Storyboard.TargetProperty="Opacity" To="1"/>
		   </Storyboard>
		   <Storyboard x:Name="NavRightShowStoryboard">
			  <DoubleAnimation Storyboard.TargetName="NavRight" Storyboard.TargetProperty="Opacity" To="1"/>
		   </Storyboard>
		   <Storyboard x:Name="NavLeftHideStoryboard">
			  <DoubleAnimation Storyboard.TargetName="NavLeft" Storyboard.TargetProperty="Opacity" To="0"/>
		   </Storyboard>
		   <Storyboard x:Name="NavRightHideStoryboard">
			  <DoubleAnimation Storyboard.TargetName="NavRight" Storyboard.TargetProperty="Opacity" To="0"/>
		   </Storyboard>
		</Grid.Resources>
		<Grid x:Name="LayoutPhoto" />
		<Canvas x:Name="NavLeft" Width="40" Height="40" HorizontalAlignment="Left" Background="Transparent" Opacity="0">
			<Path x:Name="NavLeftPath" Height="40" Width="40" Stretch="Fill">
				<Path.Data>
					<GeometryGroup>
						<RectangleGeometry Rect="-30,-30,250,200" />
						<PathGeometry>
							<PathFigure StartPoint="200,90">
								<PathFigure.Segments>
									<PolyLineSegment Points="70,90 120,140 70,140 0,70 70,0 120,0 70,50 200,50 200,90" />
								</PathFigure.Segments>
							</PathFigure>
						</PathGeometry>
					</GeometryGroup>
				</Path.Data>
			</Path>
		</Canvas>
		<Canvas x:Name="NavRight" Width="40" Height="40" HorizontalAlignment="Right" Background="Transparent" Opacity="0">
			<Path x:Name="NavRightPath" Height="40" Width="40" Stretch="Fill">
				<Path.Data>
					<GeometryGroup>
						<RectangleGeometry Rect="-30,-30,250,200" />
						<PathGeometry>
							<PathFigure StartPoint="0,50">
								<PathFigure.Segments>
									<PolyLineSegment Points="130,50 80,0 130,0 200,70 130,140 80,140 130,90 0,90 0,50" />
								</PathFigure.Segments>
							</PathFigure>
						</PathGeometry>
					</GeometryGroup>
				</Path.Data>
			</Path>
		</Canvas>
	</Grid>
</UserControl>
